<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
    <head>
        <meta charset="utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <title th:text="#{commucatepage.title}"></title>
        <meta name="description" content="" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />

        <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
        
        <!--[if lte IE 9]><link rel="stylesheet" href="css/ie.css" type="text/css" media="screen" /><![endif]-->

		<link rel="stylesheet" href="css/css.css" th:href="@{/css/min.css}"/>            
        <script src="http://lib.sinaapp.com/js/jquery/1.9.0/jquery.min.js" th:src="@{http://lib.sinaapp.com/js/jquery/1.9.0/jquery.min.js}"></script>
        <script th:inline="javascript">/*<![CDATA[*/
        window.jQuery || document.write('<script src="'+ /*[[@{/js/vendor/jquery-1.9.0.min.js}]]*/ 'js/vendor/jquery-1.9.0.min.js'
        		+'"><\/script>')
        /*]]>*/</script>
        <script type="text/javascript" th:src="@{/js/econgen.js}"></script>
        <script type="text/javascript" th:inline="javascript">/*<![CDATA[*/
        var x = /*[[${result}]]*/''
        if(x === '1'){
        	alert(/*[[#{commucatepage.js.submitsuccess}]]*/''
        		);
        } else if(x === '0'){
        	alert(/*[[#{commucatepage.js.submitfail}]]*/''
        		);
        }
        /*]]>*/</script>
    </head>
    <body>
        <header th:substituteby="common/template::header"></header>
        <div class="container">
        	<div class="row">
        		<h1 th:text="#{commucatepage.content.title}"></h1>
        	</div>
        	<hr/>
        	<div class="row">
        		<div class="twocol">
        		</div>
        		<div class="eightcol">
        			<form th:action="@{/i/communicate.html}" method="post">
	        			<ul id="password-ul">
	        				<li>
	        					<label th:text="#{commucatepage.content.ct}"></label>
	        					<input id="title" name="title" th:value="${communicate}?${communicate.title}"/>
	        				</li>
	        				<li>
	        					<label th:text="#{commucatepage.content.cc}"></label>
	        					<textarea rows="20" cols="40" name="content" th:text="${communicate}?${communicate.content}"></textarea>
	        				</li>
	        				<li>
	        					<hr/>
	        				</li>
	        				<li style="text-align: center;">
	        					<button class="form-btn" type="submit" onclick="return confirmForm();"><i class="icon-checkmark"></i><span th:text="#{commucatepage.content.cs}"></span></button>
	        				</li>
	        			</ul>
        			</form>
        		</div>
        		<div class="twocol last">
        		</div>
        	</div>
        </div>

        <footer th:substituteby="common/template::footer"></footer>
        
    </body>
</html>
